package stdio.costa.imoca.notification.email;

import javax.mail.Address;
import javax.mail.Message;
import javax.mail.Message.RecipientType;

public class EmailRecipient {

	private Address address;
	private Message.RecipientType recipientType;
	
	public EmailRecipient(Address address, RecipientType recipientType) {
		super();
		this.address = address;
		this.recipientType = recipientType;
	}

	public Message.RecipientType getRecipientType() {
		return recipientType;
	}

	public void setRecipientType(Message.RecipientType recipientType) {
		this.recipientType = recipientType;
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}
}
